<form 
  action ='<?php echo url_for('usuario/filter') ?>' 
  id='form_filter_usuario' 
  name='form_filer_usuario' 
  method='POST' 
>

<table class="form">
	<tr><th colspan="2" class="title">Filtro</th></tr>
      <tr>
        <th><?php echo $form['no_usuario']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['no_usuario']->render(
        			array(
        				'name' => 'filter[no_usuario]',
        				'value' => $filter->get('no_usuario')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['sobrenome']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['sobrenome']->render(
        			array(
        				'name' => 'filter[sobrenome]',
        				'value' => $filter->get('sobrenome')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['email']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['email']->render(
        			array(
        				'name' => 'filter[email]',
        				'value' => $filter->get('email')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['ddd_tel_celular']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['ddd_tel_celular']->render(
        			array(
        				'name' => 'filter[ddd_tel_celular]',
        				'value' => $filter->get('ddd_tel_celular')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['tel_celular']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['tel_celular']->render(
        			array(
        				'name' => 'filter[tel_celular]',
        				'value' => $filter->get('tel_celular')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['sexo']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['sexo']->render(
        			array(
        				'name' => 'filter[sexo]',
        				'value' => $filter->get('sexo')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['dt_nascimento']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['dt_nascimento']->render(
        			array(
        				'name' => 'filter[dt_nascimento]',
        				'value' => $filter->get('dt_nascimento')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['groups_list']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['groups_list']->render(
        			array(
        				'name' => 'filter[groups_list]',
        				'value' => $filter->get('groups_list')
        			)	
        		)
        	?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['permissions_list']->renderLabel() ?></th>
        <td>
        	<?php 
        		echo $form['permissions_list']->render(
        			array(
        				'name' => 'filter[permissions_list]',
        				'value' => $filter->get('permissions_list')
        			)	
        		)
        	?>
        </td>
      </tr>
	<tr>
		<td colspan="2">
			<input type="submit" value=":: Filtrar ::" />
			&nbsp;
			<?php
			    if($filter->ativo()):
    				echo link_to(
    					':: Limpar ::',
    					$sf_context->getModuleName().'/filter',
    					array('class'=>'botao')
    				);
				endif;
			?>
		</td>
	</tr>
</table>
</form>